﻿<common:LayoutAwarePage
    x:Name="pageRoot"
    x:Class="Gomoku.MainPage"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Gomoku"
    xmlns:common="using:Gomoku.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="ms-appx:///Skin/Classic/pagebackground.png" Stretch="None"/>
        </Grid.Background>
        <StackPanel HorizontalAlignment="Center" Height="500">
            <Button HorizontalAlignment="Stretch" FontFamily="SketchFlow Print" Foreground="Black" FontSize="64" Click="singlePlayerButton_Click" BorderThickness="0" Content="Single Player">
                <Button.Background>
                    <ImageBrush ImageSource="ms-appx:///Skin/Classic/buttonbackground.png" Stretch="None"/>
                </Button.Background>
            </Button>
            <Grid Height="50"/>
            <Button HorizontalAlignment="Stretch" FontFamily="SketchFlow Print" Foreground="Black" FontSize="64" Click="multiPlayerButton_Click" BorderThickness="0" Content="Multi Player">
                <Button.Background>
                    <ImageBrush ImageSource="ms-appx:///Skin/Classic/buttonbackground.png" Stretch="None"/>
                </Button.Background>
            </Button>
            <!--<Grid Height="50"/>
            <Button HorizontalAlignment="Stretch" FontFamily="SketchFlow Print" Foreground="Black" FontSize="64" Click="playOnlineButton_Click" BorderThickness="0" Content="Play Online">
                <Button.Background>
                    <ImageBrush ImageSource="ms-appx:///Skin/Classic/buttonbackground.png" Stretch="None"/>
                </Button.Background>
            </Button>-->
        </StackPanel>
    </Grid>
</common:LayoutAwarePage>
